The Dreamweaver JavaScript API > The JavaScript API overview > About enablers |
![]() ![]() ![]() |
Because every menu item in Dreamweaver is implemented as a JavaScript function, a JavaScript mechanism is required to determine when menu items should be enabled. This mechanism is a series of functions called enablers.
An enabler determines whether its associated main function can operate in the current context. For example, site.canGet()
determines whether Dreamweaver can perform a Get operation (site.get()
).
Each function specification in this API lists the enabler for the function, if applicable. (Some functions do not have enablers, either because the menu item associated with the function is always enabled, or because the function is unrelated to menus.) For function specifications for the enablers, see Enablers.
![]() ![]() ![]() |